<template>
  <div class="nav">
    <van-swipe class="my-swipe" :autoplay="9000" indicator-color="white">
      <van-swipe-item>
        <div class="items">
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
        
        </div>
      </van-swipe-item>

      <van-swipe-item>
        <div class="items">
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
          <div class="item">
            <div class="imgs">
              <img src="../assets/imgs/good.webp" alt="">             
            </div>
            <span>多多果园</span>
          </div>
        
        </div>
      </van-swipe-item>
      <template #indicator>
        <div class="custom-indicator">
          <ul>
            <li></li>
            <li></li>
          </ul>
        </div>
      </template>
    </van-swipe>
  </div>
</template>

<script>
export default {};
</script>

<style>
.nav{
  width: 96%;
  margin: 0 auto;
}
.nav .custom-indicator{
  width: 100%;
  position: absolute;
  left: 0px;
  bottom: 0px;
  text-align: center;
}
.nav .custom-indicator ul{
  display: inline-block;
  margin: 0 auto;
}
.nav .custom-indicator ul li{
  display: inline-block;
  width: 70px;
  height: 11px;
  margin: 0 2px;
  background-clip: green;
  z-index: 99;
}
.items{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
}
.item{
  width: 20%;
  height: 70px;
  /* background-color: red; */
  position: relative;
  margin-top: 10px;
}
.item .imgs{
  width: 50px;
  height: 50px;
  position: absolute;
  left: 10px;
}
.item span{
  line-height: 20px;
  color: #000;
  width: 60px;
  height: 20px;
  font-size: 12px;
  position: absolute;
  top: 50px;
  left: 5px;
}
.item .imgs img{
  width: 100%;
}
.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  /* background-color: #39a9ed; */
}
</style>